package tuple;

import tuple.data.DataKind;
import tuple.entity.MyEntity;

import java.util.HashSet;

import static tuple.TupleManager.judgeUseful;

public class TestTupleManager {
    // test
    public static void main(String[] args) {
//        TupleManager manager = new TupleManager("", State.SCAN, "");
//        System.out.println(manager.phase);
        HashSet<MyEntity> entities = new HashSet<>();
        entities.add(MyEntity.app);
        HashSet<DataKind> data = new HashSet<>();
        data.add(DataKind.ANY);
        HashSet<String> marks = new HashSet<>();
        boolean b1 = judgeUseful(entities, data, marks);
        System.out.println("b1" + b1);
        data.add(DataKind.AGE);
        boolean b2 = judgeUseful(entities, data, marks);
        System.out.println("b2" + b2);
    }

}
